const express = require('express')
const router = express.Router()

// 后台首页
router.get('/',(req,res)=>{
    // 获取到登录的用户信息
    const admin_name= req.session.admin_name || req.cookies.admin_name
    res.render('index.html',{admin_name})
})




module.exports =router